home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextPaste.z
/
XmTextPaste
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttPPPPaaaasssstttteeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttPPPPaaaasssstttteeee((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttPPPPaaaasssstttteeee - A Text function that inserts the clipboard
selection
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Text.h>
BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttPPPPaaaasssstttteeee(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttPPPPaaaasssstttteeee inserts the clipboard selection at the insertion
cursor of the destination widget. If XXXXmmmmNNNNppppeeeennnnddddiiiinnnnggggDDDDeeeelllleeeetttteeee is
True and the insertion cursor is inside the current
selection, the clipboard selection replaces the selected
text.
This routine calls the widget's XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk and
verification callbacks, either XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk or
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss, or both. If both verification
callback lists are registered, the procedures of the
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk list are executed first and the
resulting data is passed to the
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccsssscallbacks. If the
XXXXmmmmNNNNccccuuuurrrrssssoooorrrrPPPPoooossssiiiittttiiiioooonnnn resource is greater than or is the same
value as the position where the selection is to be inserted,
the XXXXmmmmNNNNmmmmoooottttiiiioooonnnnVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk is called.
This routine calls the widget's XXXXmmmmNNNNddddeeeessssttttiiiinnnnaaaattttiiiioooonnnnCCCCaaaallllllllbbbbaaaacccckkkk
procedures with the _s_e_l_e_c_t_i_o_n member of the
XXXXmmmmDDDDeeeessssttttiiiinnnnaaaattttiiiioooonnnnCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuuccccttttset to _C_L_I_P_B_O_A_R_D and with the
_o_p_e_r_a_t_i_o_n member set to XXXXmmmmCCCCOOOOPPPPYYYY.
_w_i_d_g_e_t Specifies the Text widget ID.
For a complete definition of Text and its associated
resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
RRRREEEETTTTUUUURRRRNNNN
This function returns False if no transfers take place.
Otherwise, it returns True.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxtttt(3).
Page 1 (printed 10/24/98)